package com.woniu.new_orange.finance_model_guo.service.impl;

import com.woniu.new_orange.entity.CompanyStream;
import com.woniu.new_orange.finance_model_guo.Dto.CompanyStreamDto;
import com.woniu.new_orange.finance_model_guo.Vo.CompanyStreamVo;
import com.woniu.new_orange.finance_model_guo.service.CompanyStreamService;
import com.woniu.new_orange.mapper.CompanyStreamMapper;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Program: new_orange->CompanyStreamServiceImpl
 * @Description:
 * @Author: 谭少琛的爸爸
 * @Date: 2023-02-01 17:13
 * @Version： 1.0
 **/
@Service
public class CompanyStreamServiceImpl implements CompanyStreamService {
    @Resource
    private CompanyStreamMapper companyStreamMapper;
    @Override
    public int deleteByPrimaryKey(Long id) {
        return 0;
    }

    @Override
    public int insert(CompanyStream record) {
        return 0;
    }

    @Override
    public int insertSelective(CompanyStream record) {
        return companyStreamMapper.insertSelective(record);
    }

    @Override
    public CompanyStream selectByPrimaryKey(Long id) {
        return null;
    }

    @Override
    public int updateByPrimaryKeySelective(CompanyStream record) {
        return 0;
    }

    @Override
    public int updateByPrimaryKey(CompanyStream record) {
        return 0;
    }

    @Override
    public List<CompanyStreamVo> selectAll(CompanyStreamDto companyStreamDto) {
        return companyStreamMapper.selectAll(companyStreamDto);
    }
}
